package com.wsd.bookkeeping.service;

import com.wsd.bookkeeping.entity.Right;
import com.wsd.bookkeeping.form.PermissionForm;
import com.wsd.bookkeeping.vo.UserRightListVO;

import java.util.List;
import java.util.Map;

public interface RightService {

    List<Right> getRightList();

    UserRightListVO getRightListById(Integer userId, Integer bookIdd);

    Boolean saveOrUpdateUserPermission(PermissionForm form);

    Map<String, Object> getUserInfo(Integer userId, Integer bookId) throws InterruptedException;
}
